/**
 * 
 */
package com.bemol.kernel.library;

import java.io.Serializable;
import java.net.URI;
import java.net.URISyntaxException;

import com.bemol.kernel.player.model.AudioObject;
import com.bemol.kernel.repository.PersistenceObject;

/**
 * @author samuelgmartinez
 *
 */
public class AudioFile implements PersistenceObject, AudioObject, Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1177712978731626650L;

	private String uuid;
	
	private String path;

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	@Override
	public URI getUri() throws URISyntaxException {
		return new URI(this.getPath());
	}

}
